package com.region.http.client.core;

import com.region.http.client.common.RequestType;
import com.region.http.client.model.RequestMeta.RequestMetaBuilder;

import java.lang.annotation.Annotation;

/**
 * @author 26225
 * @date 2024/8/31 15:25
 * @description
 */
public class RequestMetaResolver implements MetaResolver {
    @Override
    public void doResolver(RequestMetaBuilder builder, Annotation annotation, MetaChain chain) {
        RequestType.parseAnnotation(builder, annotation);
        chain.doResolver(builder, annotation);
    }

    @Override
    public int getPriority() {
        return 10;
    }
}
